import React, { useEffect } from "react";

import "./index.less";

import { add, deleteApi, update, find } from "@/api/mysql";

export default (): JSX.Element => {
  useEffect(() => {
    // add({name: '新加的', age: 10})
    find(10)
    // deleteApi(10)
    // update("编辑过后的洪伟江", { name: "洪伟江", age: 18 });
  }, []);
  return <div className="mysql">mysql</div>;
};
